package com.woniuxy.yoga.progress.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("请假申请参数")
public class VacateForm {

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    @NotBlank
    private String orderNum;

    /**
     * 课程id
     */
    @ApiModelProperty("课程id")
    @NotBlank
    private Integer teamCourseId;

    /**
     * 请假时间
     */
    @ApiModelProperty("请假时间")
    @NotBlank
    private String vacateTime;

    /**
     * 请假原因
     */
    @ApiModelProperty("请假原因")
    @NotBlank
    private String vacateReason;

    /**
     * 请假天数
     */
    @ApiModelProperty("请假天数,最低0.5")
    @NotBlank
    private Double vacateCount;
}
